<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><?=$sitename?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css">
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div align="center">
  <table width="400" border="0" cellspacing="0" cellpadding="0">
    <tr> 
      <td><img src="images/topbar.gif" width="775" height="18"></td>
    </tr>
    <tr> 
      <td><table width="700" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td width="230"><img src="images/t1.gif" width="230" height="132"></td>
            <td width="237" valign="top" background="images/tbg.gif"><table width="100" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td><img src="images/l2.gif" width="264" height="62"></td>
                </tr>
                <tr> 
                  <td valign="baseline"><div align="center"> 
                      <p><br>
                    <span class="BodyHeading"><?=$sitename?></span> 
                   
                    </p>
                    </div></td>
                </tr>
              </table></td>
            <td width="233"><img src="images/t2.gif" width="281" height="132"></td>
          </tr>
        </table></td>
    </tr>
    <tr> 
      <td><img src="images/tb.gif" width="775" height="36"></td>
    </tr>
    <tr>
      <td valign="top" bgcolor="#FFFFFF"><table width="763" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="207" valign="top"><table width="100" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td><img src="images/menu.gif" width="207" height="38"></td>
                </tr>
                <tr> 
                  <td valign="top" background="images/bg.gif"><div align="center">
                      
                <table width="170" border="0" align="center" cellpadding="4" cellspacing="0">
                  <tr> 
                    <td colspan="2"><img src="images/horz.gif" width="160" height="2"></td>
                  </tr>
                  <tr> 
                    <td width="22">&#8226;</td>
                    <td width="132"><a class="menuitem" href="<?=$siteurl?>/index.php">home</a> 
                    </td>
                  </tr>
                  <tr> 
                    <td colspan="2"><img src="images/horz.gif" width="160" height="2"></td>
                  </tr>
                  <tr> 
                    <td>&#8226;</td>
                    <td><a class="menuitem" href="<?=$siteurl?>/join.php">Join</a></td>
                  </tr>
                  <tr> 
                    <td colspan="2"><img src="images/horz.gif" width="160" height="2"></td>
                  </tr>
                  <tr> 
                    <td>&#8226;</td>
                    <td> 
                      <?	if($loggedin){	?>
                      <a class="menuitem" href="<?=$siteurl?>/account.php">My 
                      Account</a> 
                      <?	}else{	?>
                      <a class="menuitem" href="<?=$siteurl?>/login.php">Login</a> 
                      <?	}	?>
                      <br> 
                      <?	if($loggedin){	
					  
					  echo "<tr><td colspan=2><img src=images/horz.gif width=160 height=2></td></tr><tr> <td>&#8226;</td><td>";
		list($newmsgs) = mysql_fetch_row( mysql_query("SELECT COUNT(*) FROM privmsg WHERE uto='$myuid' AND new='1'") );
		if($newmsgs > 0){
?>
                      <a class="menuitem" href="<?=$siteurl?>/mailbox.php">New 
                      Message</a> 
                      <?		
		}else{
?>
                      <a class="menuitem" href="<?=$siteurl?>/mailbox.php">Private 
                      Message</a> 
                      <?
		}
?>
                      <?
					  echo "</td> </tr>";
					  
					  	}	?>
                    </td>
                  </tr>
                  <tr> 
                    <td colspan="2"><img src="images/horz.gif" width="160" height="2"></td>
                  </tr>
                  <tr> 
                    <td>&#8226;</td>
                    <td><a class="menuitem" href="<?=$siteurl?>/advertise.php">Advertise</a></td>
                  </tr>
                  <tr> 
                    <td colspan="2"><img src="images/horz.gif" width="160" height="2"></td>
                  </tr>
                  <tr> 
                    <td>&#8226;</td>
                    <td><a class="menuitem" href="<?=$siteurl?>/directory.php">Member 
                      Forums </a></td>
                  </tr>
                  <tr> 
                    <td colspan="2"><img src="images/horz.gif" width="160" height="2"></td>
                  </tr>
                  <tr> 
                    <td>&#8226;</td>
                    <td> <a class="menuitem" href="<?=$siteurl?>/contactus.php">Contact 
                      Us</a></td>
                  </tr>
                  <tr> 
                    <td colspan="2"><img src="images/horz.gif" width="160" height="2"></td>
                  </tr>
                </table>
                    
                <p>&nbsp;</p>
                <p><?php include("nav.php"); ?>&nbsp;</p>
              </div></td>
                </tr>
                <tr> 
                  <td><img src="images/nbg.gif" width="207" height="13"></td>
                </tr>
              </table></td>
            <td width="556" valign="top"><div align="center">
                <table width="517" border="0" cellspacing="0" cellpadding="6">
                  <tr> 
                    <td><div align="center"> 
                        <script src="<?=$siteurl?>/banner.php"></script>
                      </div></td>
                  </tr>
                  <tr>
                    <td><div align="right"><span class="Text1"><?php echo date("l, F dS Y"); ?></span></div></td>
                  </tr>
                  <tr> 
                    <td>
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
